import request from '@/utils/request'


// 用户列表
export function getUserList() {
  return request({
    url: `user-list`,
    method: 'get'
  });
}

// 获取用户信息 API
export function getUserInfo(userId) {
  return request({
    url: `/userInfo/${userId}`,
    method: 'get'
  });
}



export function deleteUserById(id) {
  return request({
    url: `/delete-user/${id}`,
    method: 'delete'
  });
}
